ShortPixel\Controller\AdminNoticesController B

Total Complexity 85
Dependencies 5
Dependents 13
Total lines 529
Lines of code 332
Logical lines of code 177
Comment lines 64
Methods 25
Properties 5

Methods 25

Method Rating Maintainability Complexity Lines of code
parse_readme_content()
A
44 15 45
displayNotices()
A
43 10 47
doRemoteNotices()
A
48 10 33
proposeUpgradeRemote()
S
47 6 34
get_update_notice()
S
54 6 21
get_remote_notices()
S
50 5 30
parse_update_notice()
S
61 3 12
pluginUpdateMessage()
S
62 3 11
__construct()
S
63 3 9
check_admin_notices()
S
68 3 8
markdown2html()
S
60 2 14
initNotices()
S
67 2 8
getInstance()
S
73 2 5
getNoticeByKey()
S
67 2 9
invokeLegacyNotice()
S
70 2 7
loadNotices()
S
70 2 7
getAllNotices()
S
82 1 3
resetLegacyNotice()
S
80 1 3
proposeUpgradePopup()
S
76 1 4
resetIntegrationNotices()
S
80 1 3
resetQuotaNotices()
S
73 1 5
resetAPINotices()
S
74 1 5
resetCompatNotice()
S
80 1 3
resetOldNotices()
S
80 1 3
resetAllNotices()
S
81 1 3